package com.shangxia.dog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shangxia.dog.commom.pojo.ResultVO;
import com.shangxia.dog.pojo.dao.Admin;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author shangxia
 * @since 2022-01-16
 */
public interface IAdminService extends IService<Admin> {

    /**
     * 登录方法
     *
     * @param username
     * @param password
     * @param request
     * @return 返回token
     */
    ResultVO<String> login(String username, String password, HttpServletRequest request);

}
